﻿using System;
namespace Catering_Model
{
    [Serializable]
    public partial class ContractorInfo
    {
        #region 字段
        private int m_id;   //主键编号
        private int m_CID;   //承包商ID
        private string m_CName;   //姓名
        private string m_GroupID;   //负责作业区编号
        private string m_ClassID;   //班组编号
        private string m_CardNo;   //跟踪卡号
        private string m_JobCard;   //工作证件名称
        private string m_Effective;   //工作证件有效区间
        private string m_Tel;   //电话
        private string m_ConDesc;   //备注
        private string m_OldClassID;   //原班组编号
        private string m_OldGroupID;   //原负责作业区编号
        private DateTime m_ChangeClassDate;   //班组变更时间
        #endregion

        #region 属性

        /// <summary>
        /// 主键编号
        /// </summary>
        public int id
        {
            get { return m_id; }
            set { m_id = value; }
        }

        /// <summary>
        /// 承包商ID
        /// </summary>
        public int CID
        {
            get { return m_CID; }
            set { m_CID = value; }
        }

        /// <summary>
        /// 姓名
        /// </summary>
        public string CName
        {
            get { return m_CName; }
            set { m_CName = value; }
        }

        /// <summary>
        /// 负责作业区编号
        /// </summary>
        public string GroupID
        {
            get { return m_GroupID; }
            set { m_GroupID = value; }
        }

        /// <summary>
        /// 班组编号
        /// </summary>
        public string ClassID
        {
            get { return m_ClassID; }
            set { m_ClassID = value; }
        }

        /// <summary>
        /// 跟踪卡号
        /// </summary>
        public string CardNo
        {
            get { return m_CardNo; }
            set { m_CardNo = value; }
        }

        /// <summary>
        /// 工作证件名称
        /// </summary>
        public string JobCard
        {
            get { return m_JobCard; }
            set { m_JobCard = value; }
        }

        /// <summary>
        /// 工作证件有效区间
        /// </summary>
        public string Effective
        {
            get { return m_Effective; }
            set { m_Effective = value; }
        }

        /// <summary>
        /// 电话
        /// </summary>
        public string Tel
        {
            get { return m_Tel; }
            set { m_Tel = value; }
        }

        /// <summary>
        /// 备注
        /// </summary>
        public string ConDesc
        {
            get { return m_ConDesc; }
            set { m_ConDesc = value; }
        }

        /// <summary>
        /// 原班组编号
        /// </summary>
        public string OldClassID
        {
            get { return m_OldClassID; }
            set { m_OldClassID = value; }
        }

        /// <summary>
        /// 原负责作业区编号
        /// </summary>
        public string OldGroupID
        {
            get { return m_OldGroupID; }
            set { m_OldGroupID = value; }
        }

        /// <summary>
        /// 班组变更时间
        /// </summary>
        public DateTime ChangeClassDate
        {
            get { return m_ChangeClassDate; }
            set { m_ChangeClassDate = value; }
        }
        #endregion
    }

    public enum EnumContractorInfo
    {

        /// <summary>
        /// 主键编号
        /// </summary>
        id,

        /// <summary>
        /// 承包商ID
        /// </summary>
        CID,

        /// <summary>
        /// 姓名
        /// </summary>
        CName,

        /// <summary>
        /// 负责作业区编号
        /// </summary>
        GroupID,

        /// <summary>
        /// 班组编号
        /// </summary>
        ClassID,

        /// <summary>
        /// 跟踪卡号
        /// </summary>
        CardNo,

        /// <summary>
        /// 工作证件名称
        /// </summary>
        JobCard,

        /// <summary>
        /// 工作证件有效区间
        /// </summary>
        Effective,

        /// <summary>
        /// 电话
        /// </summary>
        Tel,

        /// <summary>
        /// 备注
        /// </summary>
        ConDesc,

        /// <summary>
        /// 原班组编号
        /// </summary>
        OldClassID,

        /// <summary>
        /// 原负责作业区编号
        /// </summary>
        OldGroupID,

        /// <summary>
        /// 班组变更时间
        /// </summary>
        ChangeClassDate
    }
}

